/**
 *
 */
package com.codebase.oval.annotation;

import com.codebase.oval.annotation.impl.IDCardOvalImpl;
import net.sf.oval.configuration.annotation.Constraint;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * describe:
 * author:houkai
 * Date: 2018/2/1 17:08
 * @version 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER ,ElementType.METHOD})
@Constraint(checkWith = IDCardOvalImpl.class)
public @interface IDCardOval {
    String message() default "Format error of ID number";
}
